package com.jsb.laundry.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.jsb.laundry.model.entity.JsbPosts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 帖子用户统计视图
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "帖子用户统计信息")
public class PostsUserStatVO implements Serializable {

    private final static Gson GSON = new Gson();

    @ApiModelProperty(value = "关注数量", dataType = "int")
    private int followerNum;

    @ApiModelProperty(value = "粉丝数量", dataType = "int")
    private int fansNum;

    @ApiModelProperty(value = "发帖数量", dataType = "int")
    private int postsNum;

    @ApiModelProperty(value = "获赞数量", dataType = "int")
    private int likesReceivedNum;
}
